projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece4e96
)
Relax an assertion in the concurrent tests
author
Alex Crichton
<alex@alexcrichton.com>
Fri, 18 Mar 2016 16:49:24 +0000
(09:49 -0700)
committer
Alex Crichton
<alex@alexcrichton.com>
Fri, 18 Mar 2016 16:49:24 +0000
(09:49 -0700)
The output may also have information about blocking, we just want the successful
part.
tests/test_cargo_concurrent.rs
patch
|
blob
|
history
diff --git
a/tests/test_cargo_concurrent.rs
b/tests/test_cargo_concurrent.rs
index 6b4a5b6a0ca6e5d4a8c7ae586af935e9260903ec..4e8c1a8dbe597fc6b47cd4aed30898b202293a44 100644
(file)
--- a/
tests/test_cargo_concurrent.rs
+++ b/
tests/test_cargo_concurrent.rs
@@
-86,7
+86,7
@@
test!(one_install_should_be_bad {
assert_that(bad, execs().with_status(101).with_stderr_contains(&format!("\
{error} binary `foo[..]` already exists in destination as part of `[..]`
", error = ERROR)));
- assert_that(good, execs().with_status(0).with_stderr("\
+ assert_that(good, execs().with_status(0).with_stderr
_contains
("\
warning: be sure to add `[..]` to your PATH [..]
"));